package com.jvyou.app.ds;

import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * 所有bean的初始化后执行任务
 *
 * @author 橘柚
 * @since 2025/3/3 09:45
 */
@Component
public class AppStartupRunner implements CommandLineRunner {
    @Override
    public void run(String... args) throws Exception {

        System.out.println("\033[36m" + "    (♥◠‿◠)ﾉﾞ  橘柚服务端启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                "   ___                         \n" +
                "  |_  |                        \n" +
                "    | |_   ___   _  ___  _   _ \n" +
                "    | \\ \\ / / | | |/ _ \\| | | |\n" +
                "/\\__/ /\\ V /| |_| | (_) | |_| |\n" +
                "\\____/  \\_/  \\__, |\\___/ \\__,_|\n" +
                "              __/ |            \n" +
                "             |___/             " +
                "\n   (♥◠‿◠)ﾉﾞ  橘柚服务端启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                "\033[0m");

    }
}
